package com.wangyu.talents.web.system.user.mapper;

import com.wangyu.talents.core.persistence.BaseMapper;
import com.wangyu.talents.web.system.user.model.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户数据持久层
 *
 * @author wangyu
 * @Date 2018-09-02 11:31
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

  /**
   * 通过账户查询用户
   */
  User findByUserName(String userName);
}
